<!--
Copyright 2008 Ilya Novoselov

This file is part of TyuChat.

TyuChat is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

TyuChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with TyuChat.  If not, see <http://www.gnu.org/licenses/>.
-->

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/">
  <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Join IRC! (preview)</title>
    <link rel="stylesheet" type="text/css" href="static/index.css" />
  </head>
  <body>
    <div>
      <h1>Join IRC via this web gateway!</h1>
    </div>
    
    <form id="login" action="connect">
        <label for="nickname">Nickname</label>
        <input name="nickname" type="text" value="IamFromWeb" />
        <label for="server">Server</label>
        <input name="server" type="text" value="irc.tgasu.ru" />
        <label for="charset">Charset</label>
        <select name="charset">
            <option py:for="charset in charsets">${charset}</option>
        </select>
        <label for="channel">Channel</label>
        <input name="channel" type="text" value="#tgngu" />
        <input type="submit" value="Join!" />
    </form>

    <div id="footer">
        <p>Report bugs, feature requests and your comments to <a href="mailto://Ilya.Novoselov@gmail.com">Ilya.Novoselov@gmail.com</a>.
        I'm eager to make this the best web IRC gateway on the net. Welcome!</p>
        <p class="legalese">© 2008 <a href="mailto://Ilya.Novoselov@gmail.com">Ilya Novoselov</a></p>
    </div>
  </body>
</html>